	
/****** Object:  Stored Procedure AdjustQuantityUpdate    Script Date: Wednesday, October 24, 2007 ******/
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[spAdjustQuantityUpdate]') and OBJECTPROPERTY(id, N'IsProcedure') = 1)
drop procedure [spAdjustQuantityUpdate]
GO

	
	

	
/******************************************************************************
**		File: 
**		Name: spAdjustQuantityUpdate
**		Desc: 
**
**		Return values:
** 
**		Called by:   
**              
**		Parameters:
**		Input							Output
**     ----------							-----------
**
**		Auth: CodeSmith
**		Date: 10/24/2007 8:04:06 PM
*******************************************************************************
**		Change History
*******************************************************************************
**		Date:		Author:				Description:
**		--------		--------				-------------------------------------------
**    
*******************************************************************************/
CREATE PROCEDURE spAdjustQuantityUpdate
	@AdjustQuantityID int, 
	@Amount int, 
	@AdjustedDate datetime, 
	@Comment nvarchar(500), 
	@BulkOrderID int, 
	@AdjustedByUserID int, 
	@POID int 
AS

UPDATE [AdjustQuantity] SET
	[Amount] = @Amount,
	[AdjustedDate] = @AdjustedDate,
	[Comment] = @Comment,
	[BulkOrderID] = @BulkOrderID,
	[AdjustedByUserID] = @AdjustedByUserID,
	[POID] = @POID
WHERE
	[AdjustQuantityID] = @AdjustQuantityID

GO
